package com.zzt.questionbankquestion.service;

import com.zzt.questionbankquestion.bean.QuestionType;
import com.zzt.questionbankquestion.bean.dto.PageResult;
import com.zzt.questionbankquestion.bean.dto.QuestionTypeDTO;
import com.zzt.questionbankquestion.bean.dto.Result;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.jpa.domain.Specification;

public interface QuestionTypeService {
    public PageResult< QuestionTypeDTO > getAPage(PageRequest pageRequest);
    public PageResult< QuestionTypeDTO >getASpecialPage(Specification< QuestionType > specification, PageRequest pageRequest);
}
